Skip to content

Simplify code #23111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Simplify code #23111

wants to merge 2 commits into from

Conversation

EruDev
Copy link
Contributor

@EruDev EruDev commented Aug 27, 2020

I found some code to simplify when using IDEA to inspect the code, so I submit a PR here.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 27, 2020
@philwebb philwebb added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 27, 2020
@philwebb philwebb added this to the 2.4.x milestone Aug 27, 2020
@snicoll snicoll added type: task A general task and removed type: enhancement A general enhancement labels Aug 28, 2020
@snicoll snicoll self-assigned this Sep 1, 2020
@snicoll snicoll modified the milestones: 2.4.x, 2.4.0-M3 Sep 1, 2020
snicoll pushed a commit that referenced this pull request Sep 1, 2020
snicoll added a commit that referenced this pull request Sep 1, 2020
@snicoll snicoll closed this in da3f84f Sep 1, 2020
@snicoll
Copy link
Member

snicoll commented Sep 1, 2020

@EruDev thank you for making your first contribution to Spring Boot. Automatic inspection from your IDE isn't always a clear cut for us. For instance, even if it can be reduced, we often prefer the readability of not collapsing the last if branch. It's a judgement call and I've reverted one of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants